/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Cloudsign.Model
{

    /// <summary>
    ///  1. contractContent,templateContent,templateId 三个参数必须有一个有内容
        /// 2. contractContent,templateContent,templateId 三者同时存在，按顺序选择
        /// 3. personStamps,companyStamps 两个参数至少有一个有内容，可以传多个印章
        /// 
    /// </summary>
    public class ContractSpec
    {

        ///<summary>
        /// 个人用户盖章信息
        ///</summary>
        public List<PerStamp> PersonStamps{ get; set; }
        ///<summary>
        /// 企业用户盖章信息
        ///</summary>
        public List<ComStamp> CompanyStamps{ get; set; }
        ///<summary>
        /// 合同文件（base64）
        ///</summary>
        public string ContractContent{ get; set; }
        ///<summary>
        /// 合同模板文件（base64）
        ///</summary>
        public string TemplateContent{ get; set; }
        ///<summary>
        /// 合同模板文件ID
        ///</summary>
        public string TemplateId{ get; set; }
        ///<summary>
        /// 合同标题或名称
        ///</summary>
        public string ContractTitle{ get; set; }
        ///<summary>
        /// 证书类型
        ///</summary>
        public string CaType{ get; set; }
    }
}
